//中位价突破5日均线买入,并且在20日均线上方
let buyByTopFive  =function(selYear,i,condect,buySell,dates){

		 let item = this.vo(selYear[i]);
		 let itemYes = this.vo(selYear[i-1]);
		 let mid = this.getMid(item);
		 let pj5=this.getPJ(5,selYear);
		//  let pj20= this.getPJ(20,selYear);
	   let  is5Bigger = item.close>pj5[i];
		// let is20Bigger = mid>pj20[i];
		// let is5Bigger20=pj20[i]<pj5[i];
		// let isSmall = item.close>itemYes.close;
	
		if(is5Bigger && condect.time==0){
				return {flag:true,str:"B5\n"};
				//this.buyHandle("B5",condect,item,buySell,dates[i]);
		}
			return {flag:false,str:"B5\n"};
	 };